#include "stdafx.h"
#include "ErrorCommon.h"

namespace ErrorHandling {

const char* severityName( ErrorSeverity sev )
{
	switch( sev )
	{
	case ESEVunknown             : return "ESEVunknown";
	case ESEVsoftwareWarning     : return "ESEVsoftwareWarning";
	case ESEVhardwareWarning     : return "ESEVhardwareWarning";
	case ESEVsoftwareRecoverable : return "ESEVsoftwareRecoverable";
	case ESEVhardwareRecoverable : return "ESEVhardwareRecoverable";
	case ESEVfatal               : return "ESEVfatal";
	default                      : return "???";
	}
}

} // end namespace ErrorHandling
